import http from '../util/request.js'

export default {
    captcha: () => {
        return http({
            url: '/api/login/captcha',
            method: 'get'
        });
    },
    login: (obj) => {
        return http({
            url: '/api/login/dologin',
            method: 'post',
            //表单参数
            params: obj
        });
    },
}
